package com.ucode.model.cgms.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 返点流水视图对象
 * @Author: Claude
 * @Date: 2023/05/26 10:50
 * @Version: 1.0
 */
@Schema(description = "返点流水视图对象")
@Data
public class CgmsRebateFlowVO {

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    private Long id;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;

    /**
     * 订单ID
     */
    @Schema(description = "订单ID")
    private Long orderId;
    
    /**
     * 订单编号
     */
    @Schema(description = "订单编号")
    private String orderNo;

    /**
     * 返点金额
     */
    @Schema(description = "返点金额")
    private BigDecimal amount;
    
    /**
     * 返点类型(1-陪玩订单返点 2-俱乐部返点)
     */
    @Schema(description = "返点类型(1-陪玩订单返点 2-俱乐部返点)")
    private Integer rebateType;
    
    /**
     * 返点类型名称
     */
    @Schema(description = "返点类型名称")
    private String rebateTypeName;
    
    /**
     * 关联用户ID(邀请人)
     */
    @Schema(description = "关联用户ID(邀请人)")
    private Long relatedUserId;
    
    /**
     * 返点比例
     */
    @Schema(description = "返点比例")
    private BigDecimal rebateRate;
    
    /**
     * 状态(0-待结算 1-已结算 2-已取消)
     */
    @Schema(description = "状态(0-待结算 1-已结算 2-已取消)")
    private Integer statuz;
    
    /**
     * 状态名称
     */
    @Schema(description = "状态名称")
    private String statuzName;
    
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdTime;
    
    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;
} 